@import '~crec-ui/es/style/themes/default.less';

.crec-pro-global-header-trigger {
  .crecicon {
    vertical-align: -0.125em;
  }
}

.crec-pro-global-header-index-right {
  margin-right: 16px;
  float: right;
  height: 100%;
  margin-left: auto;
  overflow: hidden;

  &.crec-pro-global-header-index-dark {
    .crec-pro-global-header-index-action {
      color: hsla(0, 0%, 100%, 0.85);

      &:hover {
        background: @primary-color;
      }
    }
  }

  .crec-pro-account-avatar {
    .antd-pro-global-header-index-avatar {
      margin: ~'calc((@{layout-header-height} - 24px) / 2)' 0;
      margin-right: 8px;
      color: @primary-color;
      vertical-align: top;
      background: rgba(255, 255, 255, 0.85);
    }
  }

  .menu {
    .crecicon {
      margin-right: 8px;
    }

    .crec-dropdown-menu-item {
      min-width: 100px;
    }
  }
}
